import request from "./http";

// 获取所有幕后分类
export function getCurtain(){
    return request({
        url:"backstage/getCate",
        // p=1&size=10&tab=hot
        method:"get",
    })
}

//幕后首页轮播
export function getBanner(){
    return request({
        url:"index/getBanner?type=9",
        // p=1&size=10&tab=hot
        method:"get",
    })
}


//幕后分类列表
export function getBehindTheScenes(params){
    return request({
        url:"backstage/getPostByCate",
        //p=1&size=10&cateid=2
        method:"get",
        params
    })
}
